//
//  HMHomeFirstModel.h
//  LoveFreshBeen
//
//  Created by huodian on 16/10/16.
//  Copyright © 2016年 魏根. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HMHomeFirstModel : NSObject
/*
 
 partner_price = 9.90;
	tag_ids = 5;
	specifics = 400g/盒;
	pm_desc = 买一赠一;
	dealer_id = 7951;
	market_price = 12.00;
	sort = 1;
	safe_day = 0;
	cart_group_id = 0;
	hot_degree = 0;
	img = http://img01.bqstatic.com/upload/goods/000/009/4576/0000094576_34960.jpg@300w_300h_90Q.jpg;
	attribute = ;
	store_nums = 50;
	name = 爱鲜蜂·江西贡桔;
	brand_id = 128;
	is_xf = 1;
	source_id = 1;
	cid = 106;
	id = 94576;
	is_del = 0;
	ismix = 0;
	product_id = 94576;
	number = 3;
	had_pm = 1;
	pre_img = 0000094576_34960.jpg;
	pre_imgs = 0000094576_27260.jpg,;
	brand_name = 爱鲜蜂;
	pcid = 55;
	category_id = 106;
	price = 9.90;
 
 */
@property(nonatomic,copy)NSString* img;

@property(nonatomic,copy)NSString* name;

@property(nonatomic,copy)NSString* pm_desc;

@property(nonatomic,copy)NSString* specifics;

@property(nonatomic,assign)CGFloat partner_price;

@property(nonatomic,assign)CGFloat market_price;

@property(nonatomic,assign)NSInteger goodsCount;

@property (nonatomic, copy) NSString *customURL;

@property(nonatomic,assign)NSInteger number;

// 商品图片
@property (nonatomic, strong) UIImage *image;



+(instancetype)modelWithDict:(NSDictionary*)dict;
+(void)downLoadTheMessageFirst:(NSString*)key andFinish:(void (^)(NSArray *))finishBlock andError:(void (^)())errorBlock;
@end
